<form nz-form [formGroup]="validateForm">

	<nz-form-item>
		<nz-form-label [nzSm]="5" [nzXs]="24" nzRequired nzFor="userIdList">用户名称</nz-form-label>
		<nz-form-control [nzSm]="16" [nzXs]="24" [nzErrorTip]="'用户名称不能为空'">
			<!-- <input nz-input formControlName="userIdList" placeholder="请填写用户名称" /> -->
			<nz-select formControlName="userIdList" [nzMode]="'multiple'" nzPlaceHolder="请选择用户" nzAllowClear>
				<nz-option *ngFor="let item of userList" [nzLabel]="item.code + '-' + item.name" [nzValue]="item.id">
				</nz-option>
			</nz-select>
		</nz-form-control>
	</nz-form-item>



	<nz-form-item>
		<nz-form-label [nzSm]="5" [nzXs]="24" nzFor="warehouseIdList">仓库</nz-form-label>
		<nz-form-control [nzSm]="16" [nzXs]="24">
			<!-- <input nz-input formControlName="warehouseIdList" placeholder="请选择仓库" /> -->
			<nz-tree-select style="width: 100%" [nzDropdownStyle]="{'max-height': '300px'}"
				formControlName="warehouseIdList" [nzNodes]="warehouseNodes" nzCheckStrictly nzShowSearch nzCheckable
				nzPlaceHolder="请选择仓库">
			</nz-tree-select>
		</nz-form-control>
	</nz-form-item>


	<nz-form-item>
		<nz-form-label [nzSm]="5" [nzXs]="24" nzFor="warehouseIdList">种类</nz-form-label>
		<nz-form-control [nzSm]="16" [nzXs]="24" >
			<nz-select formControlName="typeIdList" nzPlaceHolder="请选择" nzAllowClear [nzMode]="'multiple'">
				<nz-option *ngFor="let toolType of toolTypeList" [nzLabel]="toolType.name"  [nzValue]="toolType.id"></nz-option>
			</nz-select>
		</nz-form-control>
	</nz-form-item>

</form>